package jdbmaplite.connection;

public abstract class DBConnectionFactory implements ConnectionFactory {

	private String driver = "";
	private String url = "";
	private String user = "";
	private String password = "";

	/**
	 * Default constructor.
	 * 
	 * @param driver
	 *            String
	 * @param url
	 *            String
	 * @param user
	 *            String
	 * @param password
	 *            String
	 */
	public DBConnectionFactory(String driver, String url, String user,
			String password) {
		super();
		this.driver = driver;
		this.url = url;
		this.user = user;
		this.password = password;
	}

	/**
	 * Get Driver
	 * 
	 * @return String
	 */
	public String getDriver() {
		return driver;
	}

	/**
	 * Set Driver
	 * 
	 * @param driver
	 *            String
	 */
	public void setDriver(String driver) {
		this.driver = driver;
	}

	/**
	 * Get Url
	 * 
	 * @return String
	 */
	public String getUrl() {
		return url;
	}

	/**
	 * Set Url
	 * 
	 * @param url
	 *            String
	 */
	public void setUrl(String url) {
		this.url = url;
	}

	/**
	 * Get User
	 * 
	 * @return String
	 */
	public String getUser() {
		return user;
	}

	/**
	 * Set User
	 * 
	 * @param user
	 *            String
	 */
	public void setUser(String user) {
		this.user = user;
	}

	/**
	 * Get Password
	 * 
	 * @return String
	 */
	public String getPassword() {
		return password;
	}

	/**
	 * Set Password
	 * 
	 * @param password
	 *            String
	 */
	public void setPassword(String password) {
		this.password = password;
	}

}